Part Number Hot Search : 
O55CC LV51141T RL203G O55CC 13005 SSM6N O55CC 5KE36
Product Description
Full Text Search
 

To Download ISPPAC20-01JI Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  isppac 20 in-system programmable analog circuit pac20_05 1 copyright ? 2001 lattice semiconductor corp. all brand or product names are trademarks or registered trademarks of their respec tive holders. the specifications and information herein are subject to change without notice. lattice semiconductor corp., 5555 northeast moore ct., hillsboro, oregon 97124, u.s.a. may 2001 tel. (503) 268-8000; 1-800-lattice; fax (503) 268-8556; http://www.latticesemi.com typical application diagram functional block diagram features in-system programmable (isp) analog two instrument amplifier gain/attenuation stages signal summation (up to 3 inputs) precision active filtering (10khz to 100khz) 8-bit dac and fast dual comparator non-volatile e 2 cmos cells (10,000 cycles) ieee 1149.1 jtag serial port programming linear element building blocks programmable gain range (0db to 40db) bandwidth of 550khz (g=1), 330khz (g=10) low distortion (thd < -74db max @ 10khz) auto-calibrated input offset voltage true differential i/o high cmr (69db) instrument amplifier inputs 2.5v common mode reference on chip rail-to-rail voltage outputs single supply 5v operation ?44-pin plastic plcc and tqfp packages applications include integrated: single +5v supply signal conditioning active filters, gain stages, summing blocks analog front ends, 12-bit data acq. systems precision voltage controlled oscillator synchronous detection circuits precision rectification & other non-linear functions description the isppac20 is a member of the lattice family of in- system programmable analog circuits, digitally configured via nonvolatile e 2 cmos technology. analog building blocks, called pacblocks, replace tradi- tional analog components such as opamps and active filters, eliminating the need for most external resistors and capacitors. also included are an 8-bit dac and dual com- parators. with no requirement for external configuration components, isppac20 expedites the design process, simplifying prototype circuit implementation and change, while providing high-performance integrated functionality. designers configure the isppac20 and verify its perfor- mance using pac-designer ? , an easy-to-use, microsoft windows ? compatible program. device programming is supported using pc parallel port i/o operations. the isppac20 is configured through its ieee standard 1149.1 (jtag) compliant serial port. the flexible in-system programming capability enables programming, verification and reconfiguration if desired, directly on the printed circuit board. vin ref+ ref- ain- ain+ 12-bit dac differential input adc isppac20 5v 5v dac cp1 out out 1 ia oa oa cp cp ia ia ia out 2 cp2 out 3v ref 1.5v ref window in1 gnd msel vcc pc jtag/spi d0...d7 v refout dac out in2 cs enspi d mode cal cmv in in3 cp in logic logic e 2 cmos mem auto-cal reference isp control analog routing pool
specifications isppac20 2 symbol parameter condition min. typ. max. units pacblock analog input v in (1) input voltage range applied to either v in+ or v in C 14v v in-diff differential input voltage swing (2) 2| v in+ C v in C |6 v p-p v os (2) differential offset voltage (input referred) g = 10 20 100 v g = 1 0.2 1.0 mv ? v os / ? t differential offset voltage drift -40 to +85 c50 v/ c r in input resistance 10 9 ? c in input capacitance 2pf i b input bias current at dc 3 pa e n input noise voltage density at 10khz, referred to input, g = 10 38 nv/ hz pacblock analog output v out output voltage range present at either v out+ or v out C 0.1 4.9 v v out-diff differential output voltage swing (2) 2| v out+ C v out C | 9.6 v p-p i out output current source/sink 10 ma v cm common mode output voltage (v out+ + v out- )/2 ; v in+ = v in C 2.475 2.500 2.525 v pacblock static performance g programmable gain range each individual pacblock 0 26 db gain error r l = 300 ? differential 4.0 % gain matching between two inputs of same pacblock 3.0 % ? g /? t gain drift -40 to +85 c 20 ppm/ c psr power supply rejection differential at 1khz 80 db single-ended at 1khz 77 db common mode reference output (vref out ) vref out output voltage range nominally 2.500v -0.2 +0.2 % cmv in (4) common mode output voltage input optional external vref out reference voltage 1.25 3.25 v output voltage drift -40 to +85 c 50 ppm/ c iref out output current source 50 a sink 350 a output noise voltage 10mhz bandwidth; 1 f bypass capacitor 40 v rms power supply rejection 1khz 80 db digital-to-analog converter (dac) pacell resolution 8 bits inl integral non-linearity error 0.5 lsb dnl differential non-linearity guaranteed monotonic 1.0 lsb gain error 2.5 % ?/? t gain drift -40 to +85 c 20 ppm/ c v os differential offset voltage 2mv v cm common mode output voltage (d out+ + d out- )/2 2.495 2.500 2.505 v psr power supply rejection differential at 1khz 80 db ? v os / ? t differential offset voltage drift -40 to +85 c50 v/ c fsr differential full scale range dac code 00h to ffh 6.0 v v out voltage output range r l = 1k ? differential 1 4 v i out output current source/sink 10 ma sr output slew rate 1.3 v/ s t s output settling time 0.1% 6v diff input step 4.8 6.0 s temperature range operation -40 +85 c storage -65 +150 c dc electrical characteristics t a = 25 c; v s = 5.0v; signal path = v in to v out of one pacblock (second input unused); 1v v out 4v; gain = 1; output load = 200pf, 1m ? ? ? ? ? . feedback enabled; feedback capacitor = minimum; auto-cal initiated immediately prior. (unless otherwise specified).
specifications isppac20 3 dc electrical characteristics (continued) symbol parameter condition min. typ. max. units comparator pacells a v voltage gain 108 db v os input offset voltage 5 mv ? v os / ? t differential offset voltage drift -40 to +85 c50 v/ c psr power supply rejection differential at 1khz 80 db programmable hysteresis on or off 47 mv t p propagation delay overdrive = 10mv 750 ns overdrive = 100mv 150 ns input common mode input range 0 5.0 v cmrr input common mode rejection ratio 60 db programming erase program cycles 10k cycles digital i/o v il input low voltage 0 0.8 v v ih input high voltage 2.0 v s v i il , i ih input leakage current 0v tck input v s 10 a 0v all other inputs v s +40/-70 a v ol (5) output low voltage i ol = 4.0ma 0.5 v v oh (5) output high voltage i oh = -1.0ma 2.4 v power supplies v s operating supply voltage 4.75 5.0 5.25 v i s supply current v s = 5.0v 21 ma p d power dissipation v s = 5.0v 105 mw notes: (1) a wider input range of 0.7v to 4.3v is typical, but not guaranteed. inputs larger than this will be clipped. input s ignals are also subject to common-mode voltage limitations. refer to the table of conditions in this datasheet. (2) refer to theory of operation sectio n later in this datasheet for explanation of differential voltage swing computation. (3) to insure full spec performance an additional auto-calibration s hould be performed after initial turn-on and the device reaches thermal stability.(4) the user-provided voltage on this pin (cmv in ) becomes an optional (selected via programming) alternative to the default 2.5v vref out . (5) includes tdo, cp1out, cp2out and window output logic pins. ac electrical characteristics symbol parameter condition min. typ. max. units pacblock dynamic performance thd total harmonic distortion differential f in = 10khz -88 -74 db single-ended -72 db differential f in = 100khz -67 -62 db single-ended -63 db snr signal to noise g = 1 to 10 0.1hz to 100khz 103 db cmr common mode rejection (v in = 1v to 4v) 10khz 69 db note: v in+ and v in- connected together 100khz 55 db bw small signal bandwidth g = 1 550 khz g = 10 330 khz bw fp full power bandwidth v in = 6v diff , v out = -3db, g=1 330 khz sr slew rate 5.0 7.5 v/ s t s settling time 0.1% 6v diff input step 2.0 s crosstalk between any two channels -90 db pacell filter characteristics filter pole programming range number of poles in range > 120 10 100 khz f 0 absolute pole frequency accuracy deviation from calculated value 1.0 5.0 % ? f 0 pole step size (between calculated poles) 10khz to 100khz 3.2 % df 0 /dt pole frequency change vs. temperature -40 to +85 c 0.02 %/ c
specifications isppac20 4 supply voltage v s ....................................... -0.5 to +7v logic and analog input voltage applied ........... 0 to v s logic and analog output short circuit duration ..... indefinite lead temperature (soldering, 10 sec.) .............. 260 c ambient temperature with power applied ... -55 to 125 c storage temperature ................................ -65 to 150 c note: stresses above those listed may cause permanent damage to the device. these are stress only ratings and functional operation of the device at these or at any other conditions above those indicated in the operational sec- tions of this specification is not implied. isppac20 ordering information absolute maximum ratings package options part number description ISPPAC20-01JI 44-pin plcc isppac20-01ti 44-pin tqfp package ordering number isppac20 isppac20 44-pin plcc 44-pin tqfp device number device family performance grade 01 = standard package j = plcc t = tqfp grade i = industrial temperature isppac 20 C xx x x out2+ in1 C dacout+ cpin C in3 C out2 C in1+ dacout C in3+ in2+ out1 C in2 C out1+ cpin+ tdi tdo tck tms vrefout gnd gnd msel cal cmvin 39 40 41 42 43 44 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 32 34 35 36 37 38 gnd vs vs vs pc cs dmode window cp1out cp2out d0 (lsb) d1 d2 d3 d4 d5 d6 d7 (msb) enspi test ia ia oa ia ia oa e 2 cmos mem auto-cal reference isp control cp dac analog routing pool cp pin diagram 44 tqfp package pin diagram 44 plcc package out2+ in1 C dacout+ cpin C in3 C out2 C in1+ dacout C in3+ in2+ out1 C in2 C out1+ cpin+ tdi tdo tck tms vref out gnd gnd msel cal cmvin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 38 40 41 42 43 44 gnd vs vs vs pc cs dmode window cp1out cp2out d0 (lsb) d1 d2 d3 d4 d5 d6 d7 (msb) enspi test ia ia oa ia ia oa e 2 cmos mem auto-cal reference isp control cp dac analog routing pool cp
specifications isppac20 5 timing specifications (jtag interface mode) t a = 25 c; v s = +5.0v (unless otherwise specified) symbol parameter condition min. typ. max. units dynamic performance tckmin minimum clock period 200 ns tckh tck high time 50 ns tckl tck low time 50 ns tmss tms setup time 15 ns tmsh tms hold time 10 ns tdis tdi setup time 15 ns tdih tdi hold time 10 ns tdozx tdo float to valid delay 60 ns tdov tdo valid delay 60 ns tdoxz tdo valid to float delay 60 ns tpwp time for a programming operation executed in run-test/idle 80 100 ms tpwe time for an erase operation executed in run-test/idle 80 100 ms tpwcal1 time for auto-cal operation on power-up automatically executed at power-up 250 ms tcalmin minimum auto-cal pulse width 40 ns tpwcal2 time for user initiated auto-cal operation executed on rising edge of cal 100 ms tckmin tckh tckl tmss tdis tmsh tdih tdozx tdov tdoxz tck tms tdi tdo tmss tmss tck tms tpwp, tpwe *(prgusr/ube executed in run-test/idle state) cal (note: cal internally initiated at device turn-on.) v out+ = v out C = 0 v out tpwcal1, tpwcal2 tcalmin *note: during device jtag programming, filsum pacblock analog outputs will stop responding to normal input stimulus. this is because all configuration information is erased and then re-written as part of a normal programming cycle, momentarily disrupting the input to output signal path. behavior is not predictable during either of these steps since the analog outputs a re not clamped during a programming cycle. usually, however, the outputs will slew to either 0v (ground) or 5v (v supply ) or 2.5v (vref out ). this behavior is partially determined by conditions existing immediately prior to device reprogramming and intermediate configurations that occur during the process. dac outputs will go to -fs (-3v diff ) during bulk erase and then to +fs (+3v diff ) for less than 2ms during final programming before assuming the programmed code value. comparator outputs can change due to a number of additional factors and are therefore not predictable until the final device configuration is reached. also, any configuration of the comparators that modifies their mode of operation (e.g., hysteresis on, clocked output mode, etc) can alter output states from initial settings until additional external conditions are reapplied to the device.
specifications isppac20 6 timing specifications (spi/parallel interface modes) t a = 25 c; v s = +5.0v (unless otherwise specified). symbol parameter condition min. typ. max. units dynamic performance trenc minimum rising clock to enspi time 10 ns tfenc minimum enspi to falling clock time 10 ns tckmin minimum clock period 100 ns tckh tck high time 50 ns tckl tck low time 50 ns tcss cs setup time 35 ns tcsw minimum cs pulse widths 40 ns tdis tdi setup time 15 ns tdih tdi hold time 10 ns tdacs dac data setup time 15 ns tdach dac data hold time 10 ns tdozx tdo float to valid delay 60 ns tdov tdo valid delay 60 ns tdoxz tdo valid to float delay 60 ns tckmin tcsw tckl tfenc tfenc tckh trenc trenc tcss tdis tdih tdozx hi-z hi-z tdov tdoxz tck enspi cs tdi tdo timing specifications (spi interface mode)
specifications isppac20 7 valid data tcsw tdacs tdach cs dac d0-d7 timing specifications (spi/parallel interface modes), continued cs tck tdi tdo lsb msb don t care don t care di 0 represents previous data in shift register di 1 di 2 di 3 di 4 di 5 di 6 di 7 do 0 do 0 do 1 do 2 do 3 do 4 do 5 do 6 do 7 ss miso mosi sck tck tdi tdo cs +5v enspi isppac20 spi master dac parallel input timing specifications spi connection diagram spi data transfer notes 1. spi data is loaded in tdi, lsb first. if tck continues to clock after cs goes high, data will continue to be shifted through the shift register, even though the tdo pin is tristated after cs goes high. 2. do 0 C > do 7 represents data out from the spi microprocessor or other digital source to the tdi input of the isppac20. 3. di 0 C > di 7 represents data in from the isppac20 tdo pin to the spi microprocessor input or other digital source. 4. after the eighth clock, the lsb (do 0 ) is valid on tdo as long as cs is low.
specifications isppac20 8 39, 6, 23 1,12,29 gnd ground ground pins. all should normally be connected to same analog ground plane. 40 2 vrefout common-mode common-mode voltage reference output pin (+2.5v nominal). must be reference bypassed to gnd with a 1 f capacitor. 43 5 msel multiplexer control multiplexer logic input pin. selects either of two analog channels to one of the pacblock inputs. input a selected when low, b when high. internal pull-down to gnd. 42 4 enspi enable spi mode enable spi logic input pin. when high, causes serial port to run in spi mode. internal pull-down to gnd. 41 3 test factory test pin factory test pin. connect to gnd for proper circuit operation. 44, 1, 2, 6, 7, 8, 9, in inputs 1, 2, 3 (+ or -) differential input pins, with two pins per input (e.g., in2+ and in2-). 3, 9, 10 15, 16 plus or minus components of v in , where differential v in = v in+ - v in- . 4, 5, 10, 11, out outputs 1,2 (+ or -) differential output pins, with two pins per output (e.g., out2+ and 7, 8 13, 14 out2-). complementary with respect to vref out , where differential v out = v out+ - v out- . 11, 19, 34 17, 25, 40 vs supply voltage analog supply voltage pins (5v nominal). must all be connected together. should all be bypassed to gnd with 1 f and .01 f capacitors. 12 18 tdi test data in serial interface logic pin (input) for both jtag and spi modes. input data valid on rising edge of tck (jtag). internal pull-up to v s . 13 19 tms test mode select serial interface logic mode select pin (input). jtag interface mode only. internal pull-up to v s . 14 20 tck test clock serial interface logic clock pin (input). 15 21 pc polarity control polarity logic input pin. controls polarity of one pacblock input. operation determined by user configuration of device. internal pull-down to gnd. 16 22 cs chip select chip select logic input pin. spi data and dac parallel interface clock. internal pull-up to v s . 17 23 tdo test data out serial interface logic pin (output) for both jtag and spi operation modes. output data valid on falling edge of tck (jtag). 18 24 dmode dac mode select dac mode logic input. when high, dac can be loaded via the parallel interface pins d0-d7 using cs as the latch command. internal pull- down to gnd. 20 26 window window window comparison logic pin (output). configured by user to comparator outperform comparator logic functions. 21, 22 27, 28 cpout comparator comparator logic pins (outputs). one pin for logic level of each outputs comparator. 24, 25 30, 31 cpin comparator inputs differential input pins, cpin+ and cpin-. plus and minus components of v in , where differential cp in = cp in+ - cp in- . 26 to 33 32 to 39 d0 to d7 dac data inputs dac data pins (inputs). eight parallel inputs to dac. clocked by cs pin. d0 is the lsb and d7 is the msb. 35, 36 41, 42 dacout dac outputs differential output pins (dout+ and dout-). complementary with (+ or -) respect to vrefout, where differential d out = d out+ - d out- . 37 43 cmvin input for input pin for optional analog common mode output voltage (cmvin). optional vref out replaces vrefout (+2.5v) with this voltage for any user-selected pacblock. 38 44 cal auto-calibrate digital pin (input). commands an auto-calibration sequence on a rising edge. internal pull-down to gnd. pin descriptions tqfp plcc symbol name description pin(s) connection notes 1. all inputs and outputs are labeled with plus (+) and minus (-) signs. polarity is labeled for reference and can be selected e xternally by reversing pin connections or internally under user programmable control. 2. all analog output pins are hard-wired to internal output devices and should be left open if not used. outputs of uncommitted pacblocks are forced to vref out (2.5v) and can be used as low impedance reference output buffers. v out+ and v out- should not be tied together as unnecessary power will be dissipated. 3. when the signal input is single-ended, the other half of the unused differential input must be connected to a dc common-mode reference (usually vref out , 2.5v).
specifications isppac20 9 1k 10k 100k frequency (hz) -90 -100 -80 -70 -60 -50 -40 total harmonic distortion (db) rload = 300 = 5k = 1k = 600 = no load ? ? ? ? 1k 10k 100k frequency (hz) -90 -100 -80 -70 -60 -50 -40 total harmonic distortion (db) rload = 300 = 1k = 600 = 5k = no load ? ? ? ? typical performance characteristics cmr vs. frequency psr vs. frequency small signal bw vs. gain thd vs. frequency (gain=1) thd vs. frequency (gain=10) capacitive load handling v os tempco vref out tempco input noise spectrum 1 10 100 1k 10k 100k 1m frequency (hz) 10 100 1000 noise voltage (nv hz) noise: referred to input g = 10 10 100 1k 10k 100k 1m frequency (hz) 30 20 40 50 60 70 80 90 100 common mode rejection (db) 100 1k 10k 100k 1m frequency (hz) 40 30 50 60 70 80 90 power supply rejection (db) 1k 10k 100k 1m 10m frequency (hz) -33 -39 -21 -27 -15 -9 3 -3 15 9 21 gain vs. frequency (db) g = 5 g = 2 g = 1 g = 10 0 -80 +80 +160 -160 5 0 10 15 20 25 30 percentage of devices (%) offset tempco ( v/ c) 3 wafer lots pdip pkg -40 c to +85 c 0 -50 +50 +100 -100 5 0 10 15 20 25 30 percentage of devices (%) offset tempco ( v/ c) 3 wafer lots pdip pkg 0 c to +85 c 10 100 1k 10k capacitance (pf) 15 9 12 18 21 24 overshoot (%) 3 6 0
specifications isppac20 10 20mv 1s gain = 1 load = no load 1.0v 1 s gain = 1 load = no load typical performance characteristics large-signal response small-signal response -4 -3 -2 -1 0 1 2 3 4 0 10 20 30 40 50 percentage of devices (%) frequency variation (%) 2000 units pdip pkg -4 -3 -2 -1 0 1 2 3 4 0 10 20 30 40 50 percentage of devices (%) frequency variation (%) 2000 units pdip pkg -4 -3 -2 -1 0 1 2 3 4 0 10 20 30 40 50 percentage of devices (%) frequency variation (%) 2000 units pdip pkg 10.34khz filter f c accuracy 46.46khz filter f c accuracy 91.98khz filter f c accuracy 1.0v 1s gain = 1 load = 600pf 20mv 1s gain = 1 load = 600pf large-signal response with 600pf load small-signal response with 600pf load
specifications isppac20 11 theory of operation introduction the isppac20 includes two programmable analog mac- rocells called pacblocks, each emulating a collection of operational amplifiers, resistors and capacitors. requir- ing no external components, it flexibly implements basic analog functions such as precision filtering, summing/ differencing, gain/attenuation and integration. each pacblock contains a summing amplifier, two differential input instrument amplifiers, and an array of feedback capacitors. the capacitors, combined with a fixed value feedback element, provide more than 120 programmable poles between 10khz to 100khz with an absolute accu- racy of 5.0 percent. variable gain input instrument amplifiers make it possible to program any pacblock gain in integer steps between 1 and 10. more complex signal processing functions are performed by configuring both pacblocks in combination with each other to achieve a variety of circuit functions. the isppac20 architecture is fully differential from input to output. this effectively doubles dynamic range versus single-ended i/o. it also affords improved performance with regard to specifications such as input common mode rejection (cmr) and total harmonic distortion (thd). differential peak-peak voltage is determined by knowing the signal extremes on both differential input or output pins. for example, if v(+) equals 4v and v(-) equals 1v, the differential voltage is defined as v(+) - v(-) = vdiff, or 4v - 1v = +3v. since either polarity can exist on differen- tial i/o pins, it is also possible for the opposite extreme to exist and would mean when v(+) equals 1v and v(-) equals 4v, the differential voltage is now 1v - 4v = -3v. to calculate the differential peak-peak voltage or full signal swing, the absolute difference between the two extreme vdiff s is calculated. using the previous ex- amples would result in |(+3v) - (-3v)| = 6v. it can be immediately seen that true differential signals result in a doubling of usable dynamic range. for more explanation of this and other differential circuit benefits, please refer to application note an6019. input polarity is programmable without affecting input impedance or dynamic performance, since no internal change is made other than routing to the input amplifier. single-ended operation is achieved by using either one input and/or one output pin, as required, and adjusting gain settings to achieve desired output levels. the isppac20 operates on a single 5v supply and includes an internal reference generating 2.5v. this reference is made available externally through the volt- age common-mode reference or vref out pin. the output common mode voltage is always referenced to 2.5v, regardless of the input common mode level. it is possible, when desired, to use an externally supplied voltage instead of vref out , however. this optional common-mode output voltage (v cm ) must be provided by the user via the cmv in input pin. the only limitation is this reference voltage must be between 1.25v and 3.25v. when an external voltage is present, an isppac20 must be programmed, on a per-pacblock basis, to use the external reference instead of the internal 2.5v. configuring an isppac20 is accomplished using pac-designer, a windows-based design environment. pac-designer includes an ac simulator for design veri- fication prior to programming. the user can download the design to the isppac20 at any time via the device s ieee standard 1149.1 (jtag) compliant serial port directly from the parallel port of a pc using an ispdownload ? cable. once downloaded, the circuit topology and com- ponent values are stored in non-volatile digital e 2 cmos cells on the isppac20 without any need for external programming voltages. architecture in all isppac products, individual programmable circuit functions called pacells ? are carefully combined to form larger analog macrocells or pacblocks. the isp- pac20 has two such pacblocks that incorporate specially configured pacells to perform amplification, summation, integration and filtering. each of the two filtering/summa- tion or filsum pacblocks within isppac20 is comprised of three separate pacells, two input instrument amplifi- ers and an output summing amplifier (see figure 1). the input amplifier pacells act as front-end gain stages for the filsum pacblock and allow multiple signals to be summed together. the pacblock s output amplifier is similar to the familiar operational amplifier except that it has true differential outputs. also included with each output amplifier is a filter capacitor array and switchable dc feedback path element. these components in com- bination enable the filtering and integrating functions of the filsum pacblock.
specifications isppac20 12 theory of operation (continued) figure 1. filsum (filtering/summation) pacblock diagram g m3 g m1 g m2 v in v in v out v out+ v out- v in+ v in- v in+ v in- c f c f ia1 ia2 iaf each filsum pacblock actually employs three instrument amplifier (ia) pac ells: two at the input (ia1 and ia2) and one as a feedback element around the op amp (iaf). the instrument amplifier pac ells all have differential i/o and convert an input voltage to an output current (refer to figure 2). this type of amplifier is sometimes referred to as an operational transconductance amplifier or ota. when a differential input voltage is applied to these ias, it is converted to a current proportional to the input signal. because an ac signal common to both of the high impedance inputs of the ia does not create a net differ- ence in the input signal, it is rejected by the amplifier. this characterizes the function of what is commonly known as an instrument amplifier and is a very desirable property because it acts to preserve the integrity of small signals in the presence of otherwise overwhelming noise. figure 2. instrument amplifier pacell g m v in+ v in v in- i m i p the two input instrument amplifiers have a program- mable transconductance (g m ) value in 10 steps between 2 a/v and 20 a/v with programmable input polarity, whereas the feedback amplifier is fixed at 2 a/v. the ia pacells exhibit extremely high input impedance so they don t load circuitry driving them and their outputs can be enabled or disabled under e 2 cmos control, effectively switching them in and out of the filsum pacblock cir- cuitry. these simple characteristics permit a great deal of functionality: signals can be summed, the resistive am- plifier feedback can be removed to create an integrator, the sign of pacblock transfer function can be changed without changing the input or output loading characteris- tics. the filsum pacblock can precisely filter, amplify or attenuate signals, always maintaining the high imped- ance input qualities of instrumentation amplifiers. filsum pacblock operation all isppac20 inputs are differential, the input signal being the difference between input amplifier (ia) pacell pins v in+ (positive input) and v in- (minus input). the common mode value of the input is ignored, and as long as the inputs are not within one volt of the supply rails, the part is in its linear operating region. as the input signal range exceeds these limits, distortion begins to increase until clipping occurs. this is discussed further in the advanced topics section. the output is also differential, being the difference be- tween output amplifier (oa) pacell pins v out+ and v out- . the output maintains high linearity to within 100mv of the supply rails under minimum load. the output has short circuit protection and is capable of driving resistive loads as low as 300 ? or capacitances as large as 1000pf. the output common mode voltage is maintained at vref out independent of the input common mode level. that is, the output amplifier pacell re-references the common mode level of the input signal. this is accomplished by continuously sensing the output com- mon mode voltage and comparing it to vref out as shown in figure 3, and makes it possible to use an individual filsum pacblock as a vref out reference as discussed in the section titled using vref out . figure 3. output vref out re-referencing v out c f c f vcm in (2.5v) iaf input offset auto-calibration. a unique feature of the isppac20 is its ability to automatically calibrate itself to achieve very low offset error. this is done utilizing on- chip circuitry to perform an auto-calibration (auto-cal)
specifications isppac20 13 theory of operation (continued) sequence every time the device is turned on, or anytime it is commanded externally via the cal pin or by a jtag programming command. with this feature, the degrada- tion of device offset performance that could occur over time and temperature is dramatically reduced. specifi- cally, this means one pacblock of an isppac20 in a gain configuration of one is guaranteed to never have an input offset error greater than 1mv, after being auto-cali- brated. for higher gain settings when offset is especially important, the error is not multiplied by gain, but is instead divided by it, due to the unique architecture of the isppac20. when an individual pacblock is configured in a gain of ten, that results in an input referred offset error that never exceeds 100 v. internally, auto-calibration is accomplished by simulta- neous successive approximation routines (sar) to determine the amount of offset error referred to each of the two pacblock output amplifiers of the isppac20. that error is then nulled by a calibration dac for each output amplifier. the calibration constant is not stored in e 2 cmos memory, but is recomputed each time the device is powered up or auto-cal is otherwise initiated. initiation of auto-cal occurs when an isppac20 is pow- ered on as part of its normal power on routine, or by a positive going pulse to the cal pin, or by issuing the appropriate jtag command. during auto-cal, all isppac20 oa pacell outputs are driven to 0v and remain there until calibration is com- plete. the timing for the calibration process is generated internally. at power on, the sequence takes a maximum of 250ms, and when auto-cal is initiated via the cal pin or by jtag programming, it takes a maximum of 100ms to complete. the longer time required at power on in- sures the device power supply reaches its final value before calibration begins. additional attempts to initiate auto-cal once calibration is in progress are ignored. finally, the only direct indication of auto-cal completion will be the device s oa outputs returning to operational values from the 0v clamped state. to insure maximum accuracy of the auto-cal procedure, all digital signals to the isppac20 should be suspended when calibration is in progress to avoid feed-through of noise to critical analog circuitry. this is especially true when auto-cal is initiated via jtag command and the programming port is in use. there is sufficient time, however, to clock the jtag controller back to its reset state without affecting the calibration process. bandwidth trim. the bandwidth of an oa pacell is trimmed during manufacturing by adjusting the amplifier s feedback capacitance to optimize the step response. the trimmed step response resembles that of a critically damped system with minimum overshoot. the bandwidth trim ensures a nominal feedback capaci- tance is always present, limiting the small signal bandwidth of an oa pacell to about 600khz when configured in a gain of 1 (g=1). this should not be confused with the gain-bandwidth product of the op amp within the output amplifier pacells which is approximately 5mhz. it is important to note that the individual output amplifiers are always in essentially the same fixed gain configuration and do not, therefore, contribute to a decrease in signal bandwidth at higher pacblock gain settings. since the gain of an individual pacblock is determined by varying the g m of the input amplifier, bandwidth is not reduced in direct proportion to gain, as it would be in a traditional voltage feedback amplifier configuration. specifically, small signal bandwidth is only reduced by a factor of 2, not the expected 10, with a pacblock gain setting change of g=1 to g=10. this is a significant advantage of the pacblock architecture. pole accuracy trim . separate from the bandwidth trim capacitance, each filsum pacblock contains a range of user selectable op amp feedback capacitance. this is made possible by a parallel arrangement of seven ca- pacitors, each in series with an e 2 cmos switch. the user controls the position of the switches when selecting from the available capacitor values. the resulting capaci- tance is in parallel with the op amp feedback element, iaf, making 128 possible pole locations available. the capacitor values are not binarily weighted, instead they are chosen to optimize and concentrate pole spacing below 100khz. there are 122 poles between 10khz and 96khz, which guarantees a step of no greater than 3.2% anywhere in that frequency range (to the nearest com- puted pole location). in fact, step size in over 50% of that range is less than 1.0%. finally, capacitors are trimmed to achieve 5.0% accuracy (absolute) with regard to their nominal value. pacblock transfer function the block diagram for a pacblock is shown in figure 1. the transfer function for a transconductor is: in m p v g i - = (1) in m m v g i = (2) using kcl (kirchoff s current law) at the op amp inputs and assuming the input is connected to ia1 only:
specifications isppac20 14 theory of operation (continued) f out m3 out m1 in sc )) v ( v ( g v g v- C + + - + (3a) f out m3 out m1 in sc )) v ( v ( g v g v+ C + - - (3b) where v- and v+ are the voltages at the op amp inverting and non-inverting inputs respectively. because of feed- back they are equal, so ) sc v ( g v g v = ) sc v ( g v g v f out m3 out m1 in f out m3 out m1 in - + + C + + - (4) and the differential output voltage v out is the difference v out+ - v out- , 2 sc g g v v f 3 m 1 m in out + = (5a) since the pacblock has two separate inputs (ia1 and ia2) summed at the output amplifier input: 2 sc g v g k v g k v f m3 in2 m 2 in1 m 1 out + + = (5b) the input amplifiers have a programmable gain of k 2 /v (g m1 and g m2 ) where k is an integer from -10 to 10. the feedback amplifier transconductance g m3 is fixed at 2 /v, but may be disabled (g m3 = 0) to open-circuit the output amplifier s resistive feedback. the programmable feedback capacitance lies in the range 1pf to 62pf. the pacblock model from pac-designer is shown in figure 4. the output amplifier is configured as an invert- ing mode op amp and illustrates the summing configuration. the input instrument amplifiers are shown to make it clear that unlike a typical inverting op amp, the pacblock input impedance is extremely high. the input amplifier (ia) transconductance (gain) is shown as the value (k) above or below each amplifier. the gain of ia1 and ia2 are independently programmable. because the feedback transconductor iaf (designated here as r f ) can be disabled by the user, a user configurable switch is shown in series. figure 4. pac-designer filsum pacblock k 1 c f oa1 ia1 ia2 pacblock 2.5v 1pf to 62pf k 2 feedback enable 2 2 two differential inputs differential output k n = C 1, 2...10 common- mode voltage input summation 2 r f the filsum pacblock implements two primary functions: the lossy integrator (low pass filter) and the integrator, both with gain. lossy integrator . the lossy integrator s schematic within pac-designer is shown in figure 5. manipulating the pacblock transfer function of equation 5 to better show the pole frequency yields: m f in2 2 in1 1 out g 2 sc 1 v k v k v + + = (6) figure 5. pac-designer pacblock lossy integrator k 1 k 2 v out v in1 v in2 c f r f ia1 ia2 oa1 2.5v the dc gain of each input is set by k 1 or k 2 respectively, the gain constant for the input amplifiers. below the pole frequency, this circuit can be viewed as a gain block. because of the bandwidth trim capacitance, there is a minimum value of c f causing the bandwidth to be ap- proximately 550khz when the dc gain is one. for larger gains, the input amplifier bandwidth begins to dominate the overall pacblock response, limiting the bandwidth to about 330khz when the gain is 10. examining this transfer function shows the pole fre- quency is (1/2 )(2g m /c). since g m = 2 /v and 1pf c f 62pf, then 600khz f p 10khz. due to the selection options for feedback capacitance, there are at least 120 poles between 10khz and 100khz.
specifications isppac20 15 theory of operation (continued) integrator . switching out r f (turning off iaf) removes the feedback element as shown in figure 6. the integrator s transfer function can be derived from equa- tion 5b by setting g m3 = 0 (open circuit iaf (r f )). figure 6. pac-designer pacblock integrator (iaf disabled; g m3 = 0) k 1 k 2 v out v in1 v in2 c f r f ia1 ia2 oa1 2.5v m f in2 2 in1 1 out g 2 sc v k v k v + = (7) the integrator slope is proportional to 1/f and, for the case of a single input, the transfer function magnitude equals |k| when the frequency is (1/2 )(2g m /c). the integrator should not be used as a stand-alone circuit element. it needs to be used in configurations that provide dc feedback to ensure the output does not saturate, as illustrated by the biquad filter circuit below. application examples biquad filter . by simply combining the two structures, the integrator providing feedback around the lossy inte- grator, creates a useful circuit. the block diagram is shown in figure 7a and the schematic from pac-de- signer is shown in figure 7b. figure 7a. biquad bandpass filter block diagram b 1 + s p 1 a s error v in (in1) v fb v out1 (out1) v out2 (out2) figure 7b. biquad bandpass filter schematic oa1 ia2 1 ia1 -1 15.08 pf oa2 ia3 -1 ia4 -1 30.15 pf polarity control: pc pin sre=on 2.5v 2.5v in1 in2 in3 out1 out2 msel = a pc = 0 3v 1.5v pacblock 1 pacblock 2 a b the transfer function out1(s)/in1(s) is a band pass filter with programmable gain, q and center frequency. note the presence of dc feedback around the integrator. it can also be seen that the transfer function v fb (s)/v in (s) implements a lowpass filter. this application is discussed further in a separate application note. to ease the design of biquad filters, pac-designer contains a macro tool that allows a user to simply specify filter corner, q factor and gain. this macro is accessed under the tools menu. attenuator . the pacblock architecture makes varia- tions possible on these two basic building blocks just described. an example uses summation to connect an input amplifier (ia2) in parallel with the feedback element (r f ), as shown in figure 8. figure 8. pacblock a v < 1 k 1 c f oa1 ia1 ia2 2.5v v out v in1 k 2 r f
specifications isppac20 16 theory of operation (continued) the result is a circuit whose transfer function is: m f 2 1 in out g 2 sc C k k v v - = (8) the gains k 1 and k 2 are independently set by the user. for stability, the phase of k 2 must be negative. the user can control the polarity of the transfer function by select- ing the polarity of k 1 . this circuit can either amplify or attenuate an input signal. the one in the denominator is due to r f ; if r f is disabled, this term is eliminated. the level of attainable attenuation is as low as 1/11 (-20.8db) with r f enabled or 1/10 (-20db) with r f disabled. when configuring a pacblock to attenuate, it is neces- sary to increase the value of feedback capacitance to maintain stability. increasing feedback capacitance has the same beneficial effect as for a discrete op amp: it increases the network s phase margin which assists in maintaining stability. using vref out the vref out output is high impedance and it should be buffered when used as a reference. a pacblock can be made into a vref out buffer as shown in figure 9. the pacblock inputs are left unconnected and the feedback closed. in this condition the input amplifiers are tied to vref out and the output amplifier s outputs are thus forced to vref out or 2.5v. either output is now a vref out voltage source. this reference has the same drive capabilities of any isppac20 output. however, do not short the two outputs together. there is a small potential difference between them which will cause a steady state current to flow, thus needlessly dissipating power. figure 9. pacblock as vref out buffer 1 1.07pf oa1 ia1 ia2 pacblock 1 in1 out1 2.5v -1 out1=2.5v unconnected it is not always necessary to buffer the vref out output. if it is used to reference a high impedance source, i.e., one that does not require more than 10 a, then it can be directly connected. an example is shifting the dc level of a signal connected to the input of a pacblock. in this case, the signal is ac coupled and terminated in vref out through a minimum total resistance of 100k ? . referring to figure 10b, if r in is greater than 200k ? then the vref out pin may be used without buffering. interfacing when used in a single-supply system where the system common mode voltage is near v s /2, signals may be directly connected to the isppac20 input. if the input signal does not have such a dc bias, then one needs to be added to the signal in order to accommodate the input requirements for the isppac20. a dc coupled bias can be added to a signal by using a voltage divider circuit as shown for one-half of the differential input in figure 10a. normally the choice for the reference dc voltage is the supply voltage, but other values may be used if neces- sary (and available). figure 10a. dc biasing an input signal 2 1 1 out 2 1 2 se in r r r vref r r r v v + + + = + v in+ * v se r 1 r 2 *single-ended v se : connect to vref out or other dc reference. *differential v se : duplicate vin+ network on vin-. vref out v in- where dc coupling is not required, the input signal may be ac coupled as shown in figure 10b. this circuit forms a high pass filter with a cutoff frequency of 1/(2 rc) and adds the necessary dc bias to the signal to accommo- date the isppac20 input requirements. the dc reference should equal v s /2, making vref out the natural choice.
specifications isppac20 17 theory of operation (continued) the minimum resistance when using the vref out buffer circuit of figure 9 is 600 ? ; when using the vref out output pin it is 200k ? (as discussed earlier). figure 10b. ac-coupled input with dc bias v in+ vref out r in c in c in v in- single-ended operation single-ended signals may be connected to the isppac20 input and one of the two differential isppac20 outputs can be used to drive single-ended circuitry. so, in addi- tion to fully differential i/o, either the input, output or both may be used single-ended. single-ended input . to connect the isppac20 differen- tial input to a single-ended signal, one of the differential inputs needs to be connected to a dc bias, preferably vref out . the input signal must either be ac coupled (as in figure 10b) or have a dc bias equal to the dc level of the other input. since the input voltage is defined as v in+ - v in- , the common mode level is ignored. the signal information is only present on one input, the other being connected to a voltage reference. single-ended output . connecting the output to a single- ended circuit is simpler still. simply connect one-half of the differential output, but not the other. either output conveys the signal information, just at half the magnitude of the differential output. the dc level of the single- ended output will be vref out due to the re-referencing aspect of the filsum pacblock. if the load is not ac coupled and is at a dc potential other than vref out , the load draws a constant current. using one of the differen- tial outputs halves the available output voltage swing (3v pp versus 6v pp ) and since the output current capacity is the same whether driving differentially or single-ended, a single output can drive twice the load as the differential output (150 ? vs. 300 ? or 2000pf vs. 1000pf). if the load requires dc current, the amount available for voltage swing is reduced. the output is capable of 10ma, so any dc current raises the minimum allowable load imped- ance. noise vs. gain noise gain is the gain of a circuit configuration to its combined input-referred circuit noise. the noise gain of an inverting op amp circuit is: gain voltage loop closed + 1 = gain noise (9) in this case, the noise gain of the circuit increases proportionally to the circuit gain. a filsum pacblock contains an input amplifier stage followed by an output amplifier. in this way it can be viewed as a system, with each of the components having its own contribution to the overall noise as shown in figure 11. both the output amplifier noise (n 2 ) and input amplifier noise (n 1 ) contribute to the overall noise perfor- mance, but the contribution due to the output amplifier dominates except at input gains near 10. the result is that the snr of a filsum pacblock is nearly constant versus gain. this is different than the behavior predicted by equation 9. figure 11. multistage isppac noise diagram stage two stage one g 2 g 2 = constant g 1 n 2 n 1 2 1 2 2 1 2 1 g n n g g = voltage noise output + (10a) if n 2 /g 1 > 3 n 1 , then 2 2 n g voltage noise output ? (10b) there is a few db decrease in snr as the gain ap- proaches 10. this characteristic implies the input amplifier noise contribution is approaching that of the op amp. as the gain of the input amplifier nears 10, its noise contribu- tion in equation 10a (n 1 ) approaches that of the op amp
specifications isppac20 18 theory of operation (continued) v cm- v cm+ g=1 g=2 g=3 g=4 g=5 g=6 g=7 g=8 g=9 g=10 1.000 4.000 0.557 0.278 0.186 0.139 0.111 0.093 0.080 0.070 0.062 0.056 1.100 3.900 0.728 0.364 0.243 0.182 0.146 0.121 0.104 0.091 0.081 0.073 1.200 3.800 0.899 0.450 0.300 0.225 0.180 0.150 0.128 0.112 0.100 0.090 1.300 3.700 1.071 0.535 0.357 0.268 0.214 0.178 0.153 0.134 0.119 0.107 1.400 3.600 1.242 0.621 0.414 0.310 0.248 0.207 0.177 0.155 0.138 0.124 1.500 3.500 1.413 0.707 0.471 0.353 0.283 0.236 0.202 0.177 0.157 0.141 1.600 3.400 1.584 0.792 0.528 0.396 0.317 0.264 0.226 0.198 0.176 0.158 1.700 3.300 1.756 0.878 0.585 0.439 0.351 0.293 0.251 0.219 0.195 0.176 1.800 3.200 1.927 0.964 0.642 0.482 0.385 0.321 0.275 0.241 0.214 0.193 1.900 3.100 2.098 1.049 0.699 0.525 0.420 0.350 0.300 0.262 0.233 0.210 2.000 3.000 2.270 1.135 0.757 0.567 0.454 0.378 0.324 0.284 0.252 0.227 2.100 2.900 2.441 1.220 0.814 0.610 0.488 0.407 0.349 0.305 0.271 0.244 2.200 2.800 2.612 1.306 0.871 0.653 0.522 0.435 0.373 0.327 0.290 0.261 2.300 2.700 2.783 1.392 0.928 0.696 0.557 0.464 0.398 0.348 0.309 0.278 2.400 2.600 2.955 1.477 0.985 0.739 0.591 0.492 0.422 0.369 0.328 0.295 2.426 2.574 3.000* 1.500* 1.000* 0.750* 0.600* 0.500* 0.429* 0.375* 0.333* 0.300* 2.500 2.500 3.126 1.563 1.042 0.782 0.625 0.521 0.447 0.391 0.347 0.313 table 1. input common-mode voltage range limitations *peak input voltage for guaranteed performance at a given gain setting. input voltage magnitude (volts-peak) and becomes a factor in the overall output noise voltage, causing it to increase. input common-mode voltage range for the isppac20, both maximum input signal range and corresponding common-mode voltage range are a func- tion of the input gain setting. the maximum input voltage times the gain of an individual pacblock cannot exceed the output range of that block or clipping will occur. the maximum guaranteed input range is 1v to 4v, with an extended typical range of 0.7v to 4.3v for a 5v supply voltage. the input common-mode voltage is v cm =(v cm+ + v cm- )/2. when the value of v cm is 2.5v, there are no further input restrictions other than the previously mentioned clipping consideration. this is easily achieved when the input signal is true differential and referenced to 2.5v. when v cm is not 2.5v and the gain setting is greater than one, distortion will occur when the maximum input limit is reached for a particular gain. the lowest v cm for a given gain setting is expressed by the formula, v cm C = 0.675v + 0.584g v in where g is the gain setting and v in is the peak input voltage, expressed as |v in+ -v in C | and the highest v cm is v cm+ = 5.0v - v cm C where 5v is the nominal supply voltage. in table 1, the maximum v in for a given v cm C to v cm+ range is given. if the maximum v in is known, find the equivalent or greater value under the appropriate gain column and the widest range for v cm will be found horizontally across in the left-most two columns. only a v cm range equal to or less than this will give distortion- free performance. conversely, if the maximum v cm range is known, the largest acceptable peak value of v in can be found in the corresponding gain column. all values of v in less than this will give full rated perfor- mance.
specifications isppac20 19 theory of operation (continued) dac pacell the isppac20 contains an 8-bit, voltage output, digital- to-analog converter (dac) pacell with many unique features and options. interface modes are user select- able and include a direct 8-bit parallel port, a serial jtag address mode, or serial spi address mode. the output of the dac is fully differential, making it compatible with the rest of the isppac20 s internal analog i/o. the dac s voltage output is available via external pins as well as by on-chip routing for optional internal connection to either the comparator pacells or any of the instrument amplifier input pacells. dac data input coding data input to the dac, whether in serial or parallel mode, determines its output value. the coding of the dac is in straight binary and corresponds to input to output rela- tionship shown in table 2, dac i/o. in all serial modes, 8 bits of data are clocked in with d0 (the lsb) being first in the data stream and d7 (the msb) being last. dac address modes addressing modes are controlled from within pac-designer (options in the dac port configuration pop-up) and by two external pins (dmode and enspi). figure 12 diagrams the various input data paths used to implement the various isppac20 dac addressing modes. also included in the figure is a truth table of the user e 2 settings and input logic levels required to enable them. all serial data input modes are 8 bits long and clocked in lsb (d0) first. the choice of addressing modes depends largely on application needs, but the primary benefit of each ad- dressing mode is as follows: jtag/e 2 : power-up state of dac is determined by e 2 configuration memory. the dac input code can still be changed, but only by reprogramming the e 2 memory via jtag command and subject to the maximum number of programming cycles allowed. this is the preferred mode to use when the dac setting must be retained when device power has been cycled off and then on again. parallel : this mode allows direct parallel update access to the dac. the dac can be updated continuously without affecting e 2 programming cycle endurance is- sues. the dac e 2 configuration cells can still be programmed via serial jtag commands directly from the value stored in the parallel input data latches at any time, if desired. jtag/direct : the dac can be addressed directly, by- passing the e 2 configuration memory via the standard jtag serial interface protocol. using this serial address- ing mode retains the ability to reprogram the isppac20 dac at any time without having to reconfigure the inter- face from one mode to another. spi : the dac can be addressed directly, bypassing the e 2 configuration memory via an spi compatible serial interface protocol. the spi serial interface is one of the most widely used protocols for communication with mixed signal devices of all types. while in the spi addressing mode, programming of the dac e 2 configuration memory is not possible. table 2. dac i/o code nominal voltage dec hex vout+ (v) vout- (v) vout (vdiff) -full scale (-fs) 0 00 1.0000 4.0000 -3.0000 32 20 1.3750 3.6250 -2.2500 64 40 1.7500 3.2500 -1.5000 96 60 2.1250 2.8750 -0.7500 127 7f 2.4883 2.5117 -0.0234 mid scale (ms) ms - 1lsb ms + 1lsb 128 80 2.5000 2.5000 0.0000 129 81 2.5117 2.4883 0.0234 160 a0 2.8750 2.1250 0.7500 192 c0 3.2500 1.7500 1.5000 224 e0 3.6250 1.3750 2.2500 +full scale (+fs) 255 ff 3.9883 1.0117 2.9766 lsb step size x + 0.0117 x - 0.0117 0.0234 +fs + 1lsb 4.0000 1.0000 2.9766
specifications isppac20 20 theory of operation (continued) figure 12. isppac20 dac interface options tdo tdi dac inputs serial dac input shift register (sr) dac address e 2 cmos memory parallel input data latches (pre-set to 80h at power-up) serial input data latches (pre-set to 80h at power-up) 3:1 mux cs(5) cs registers updated after jtag command(s): (1) dbe, prgdac (dmode=1) (2) adddac, dbe, prgdac (dmode=0) (3) verdac (4) adddac (e 2 bit dsthru=1, enspi=0) spi mode only: rising edge of cs (5) rising edge of cs (only if dmode=1) dac parallel input data pins d0-d7 enspi input pin address mode logic dmode input pin dsthru e 2 bit* *decoded from the user selection in the dac port configuration pop-up. tck parallel jtag/direct & spi jtag/e 2 (1) (2) (3) (4) jtag/e 2 address mode parallel jtag/direct spi enspi pin dsthru e 2 bit dmode pin 0 0 0 1 0 0 1 x 0 1 x x action jtag/e 2 serial mode parallel mode jtag/direct serial mode spi serial mode e 2 cells programmed via: serial input sr parallel latches serial input sr no e 2 access dac input comes from: e 2 cmos memory parallel latches serial latch serial latch dac updated on: during update-dr, falling edge tck (1) rising edge cs during update-dr, falling edge tck rising edge cs rising edge cs updates: serial latch serial latch parallel latch serial latch serial latch dac output at power-up: stored e 2 value 80h (vout+, vout-=2.5v) 80h (vout+, vout-=2.5v) 80h (vout+, vout-=2.5v) tdo serial output in hi-z state during jtag adddac operation if e 2 bit distdo =1, otherwise active during shift-dr/ir jtag state no tdo if tck pin is not clocked if e 2 bit distdo =1, otherwise active during shift-dr/ir jtag state when cs is high notes: (1) dac output goes from C fs to +fs during e 2 programming cycle (jtag dbe or dac bulk erase, and prgdac or program dac commands) before settling to the final input code value. table 3. dac address modes
specifications isppac20 21 dac address mode details dac parallel mode addressing . the parallel address- ing mode uses the eight external (d0-d7) data pins of the isppac20 to address the dac. the dmode (dac e 2 /parallel mode) logic input pin determines whether the input data path is routed from e 2 memory (dmode =0) or directly from the parallel input data pins (dmode =1). in addition, both serial input modes (jtag/direct and spi) must be disabled to access the parallel input mode. this means the shift register option in the dac port configu- ration pop-up is selected, the enspi (enable spi serial mode) logic input pin is low and the dmode logic input pin is high. data is latched into the parallel data latches on a positive going edge of cs (chip select) and the output of the dac changes to its new value at this time according to the setup timing constraints in the ac specification waveform tables. when a device is first turned on, the parallel data latches are initialized to code 80h, which corresponds to 2.5v on both dac analog output pins. to otherwise start up with the value dac code programmed in e 2 memory (instead of the default 80h), the dmode logic input pin must remain low until the first data update of the parallel input data latch at which time the contents of the dac reflect the parallel data input pins. jtag/e 2 serial mode addressing . the jtag/e 2 serial mode is the only addressing mode where the isppac20 powers up with the dac set to the input code stored in its internal e 2 configuration memory. in all other modes the dac defaults to input code 80h (2.5v on both output pins) at turn on. the dac can be changed while in this mode, but only by a process of reprogramming the dac e 2 memory cells themselves via routine jtag commands. this is sometimes desirable when a particular dac output operating point is reached that the system is then required to remember . this update can be accom- plished via programming the dac directly through the jtag interface of the isppac20 without perturbing any of the rest of the chip s function or operation. it should be noted, however, that the dac outputs are directly determined by the state of their e 2 configuration memory. that means if the dac e 2 cells are repro- grammed to change codes, the dac output will follow the e 2 transition states until their final programmed value is reached. a dac e 2 programming cycle consists of an erase during which the output goes to minus full-scale (-fs), then a write during which the output briefly goes to plus full-scale (+fs) before the e 2 cells transition to their final programmed values and the output settles there as well. this phenomenon only applies when in the jtag/ e 2 serial address mode. in all other addressing modes, the dac changes to its new value immediately after a latch register is clocked. jtag/direct serial mode addressing . unlike the pre- vious method of addressing the isppac20 dac from the e 2 cells directly, jtag/direct serial mode interfaces the dac via the serial input data latches. after a data word is shifted into the serial input shift register via jtag com- mand (adddac), the dac is immediately updated on the falling edge of clock tck in the updatedr state. the e 2 cells are bypassed entirely in this mode. the advantages are that the dac can be addressed separately from the rest of the isppac20 via the serial jtag interface and can be continuously updated an unlimited number of times. the serial data rate of 5mhz is much faster than the settling time of the dac making this an acceptable way of addressing and changing the output for full speed ac applications. it is, of course, also suitable for applica- tions where the dac output needs to be varied from time to time, and the need to store the last code before power down on-chip is not critical. spi serial mode addressing . finally, the isppac20 can be addressed using a serial interface mode that is com- patible with the industry standard spi protocol (serial peripheral interface, a motorola trademark). like the jtag/direct serial mode, the dac e 2 configuration is bypassed in spi serial mode allowing the dac to be updated continuously and for an unlimited number of cycles if desired. whenever the enspi (enable spi) pin is high, the isppac20 is in the spi serial addressing mode and the 8 bits of dac input data can be clocked in with d0 (the lsb) being first in the data stream and d7 (the msb) being last, if the device is selected by the cs (chip select) pin being low. the data is latched in and the dac output changes on a subsequent rising edge of cs. comparator pacell operation the isppac20 has two programmable, double difference comparator pacells on chip that include many user programmable options to optimize their utility. these comparators operate no differently than any standard comparator, that is whenever the +(plus) input is positive with respect to the -(minus) input, its logic output will be high, otherwise they will be low. unlike most other avail- able comparators, however, inputs to the isppac20 comparator pacells are fully differential (true double- difference comparators). both the plus and minus inputs of the isppac20 comparators have a vin+ and a vin- with the differential input voltage defined as [(vin+) - (vin-)]. this means the comparator output is high whenever the theory of operation (continued)
specifications isppac20 22 differential voltage on the +(plus) input is positive with respect to the differential input voltage on the -(minus) input. comparator input options all inputs to the comparators can be accessed from several different points including signals external to the isppac20. when first shown in the pac-designer soft- ware design entry screen, the inputs to the comparators appear not to be connected to any signal source. in fact, whenever no connection is indicated, the vin+ and vin- lines (denoted by a single line in pac-designer) are both connected to 2.5v dc. that means that if the minus input were left unconnected in pac-designer, the differential voltage on that input would be 0v (2.5v - 2.5v = 0v). at this point any positive differential voltage on the plus input of that comparator would result in a logic 1 output, and any negative a logic 0. the output of pacblock 2 (oa2) is available to any input of cp1 or cp2 as is the external input pin, in3. in the case of a signal on in3, it could be routed to one of the pacblocks as well as the comparators to control a switching threshold or other level determined event. using in3 as a standalone input going only to one of the comparators and the cpin pin (comparator external input), both the plus and minus inputs to the comparators could come from entirely external signals. the most common source for deriving reference levels on the comparators would be directly from the internal 8-bit dac. in addition to the 256 voltage levels being directly available from the dac, a constant 1.5v and 3.0v is also available for setting a comparator input threshold. these fixed values free the dac to be used for other circuit purposes such as nulling system offset voltages or programming adc reference inputs. it should be noted that the plus input path of cp2 effectively performs a negation of the differential voltage to that input (denoted by an additional inversion symbol in pac-designer). the utility of this operation is that an identical differential signal can be applied to the plus inputs of both comparator pacells and result in a sym- metrical window about 2.5v. for example if the +1.5vdc input line is connected to both comparator plus inputs, cp1 s plus input is +1.5v differential, and cp2 s plus input is then -1.5v differential. if both minus inputs were both connected to cpin in pac-designer (the external comparator input pin), the result would be a logic 1 on cp1 when the external input was below +1.5vdiff and a logic 1 on cp2 whenever it was above -1.5vdiff. further- theory of operation (continued) more, the window (window compare output pin) which is the exclusive or of the two cpout pins would result in a logic 0 any time the signal was between +-1.5vdiff on the external input and a logic 1 anytime it was outside that window. optional comparator hysteresis another programming option provided for the user is the ability to enable or disable comparator hysteresis. hys- teresis is useful in situations where a slow moving signal, or an uncertain transition condition exists that would otherwise result in excessive noise on the comparator output. the magnitude of this hysteresis is nominally 47mv and can be either enabled or disabled in e 2 configuration memory and concurrently affects both com- parators. it is symmetrical with respect to any input change, which means that regardless of which direction the input causing the state change comes from (with respect to the reference input), it will have to change at least 47mv above or below the reference to cause another output state change. the default initial condition of the hysteresis setting is on. comparator hysteresis can be disabled by selecting the appropriate edit symbol command in pac-designer and making the change. polarity control of ia4 normally the gain and polarity for an individual ia (instru- ment amplifier input) pacell is chosen from the range of choices from -10 to +10 (in integer steps) directly in pac- designer from a single gain setting listbox choice. with the isppac20 this is the case for ia1, ia2 and ia3. ia4 on the other hand, only has gain choices from -10 to -1 available in this particular dialog box. the reason is the positive gains are actually realized by internally reversing the polarity of the differential inputs, effectively multiply- ing the ten negative gains by -1 to achieve the positive gain values. with ia4, the control of this inversion routing switch has been made externally available for some unique device operating modes. the control is made through the external pc (polarity control) pin, or signals routed internally to this same input pin. see table 4 and figure 13 for complete pc pin operation details. these comparator logic control/option modes are all configured within pac-designer to achieve the operation summarized in table 4 and figure 13. more information is available in the online help file for pac-designer and in application notes that describe the circuits made possible by this on-chip logic.
specifications isppac20 23 theory of operation (continued) ia4 slew-rate enhancement because of the special applications addressed by the inclusion of a polarity control function in ia4, its circuitry has been modified to include a slew-rate enhancement feature. this circuitry is not part of the output amplifier (oa) pacell and therefore does not change the specified slew rate as given in the data sheet. rather, it enhances the operation of ia4 and improves its performance in applications such as a voltage controlled oscillators (vco), thereby improving its performance in reproducing non-linear transfer functions. the isppac is shipped with this bit normally enabled. if identical operation between all ia pacells is desired, the sre bit associated with ia4 can be disabled by selecting the appropriated edit sym- bol command in pac-designer and making the change. multiplexer input control of ia1 an external multiplexer select (msel) pin is provided that controls which of two possible input connections are routed to the input of ia1. when msel is a logic 0, input line a is selected to go to ia1, when it is a logic 1, input line b is used. this arrangement allows a number of applications to be implemented, from something as straight forward as two input signal channels, to more complex functions such as those provided for by the polarity control pin (with the option of different signals being used as well). table 4. comparator logic control modes/options mode pc pin function description fixed, non-inverting none (internal). always generates a +1 times whatever the gain setting of ia4 is. ia4 can be set to gains of -1 to -10 in this mode. display of the gain setting for ia4 in pac-designer is of the correct polarity. pc direct direct control of ia4 ia4 gain setting is correct as shown in pac-designer (-1 to -10) if pc polarity via the pc pin, pin input equals a logic 1 (no inversion). if the pc pin input equals a logic 0 = inverted, logic 0, the setting of ia4 will be inverted with respect to what is logic 1 = no inversion displayed in pac-designer. terminating the pc pin low (externally) (external). in this mode is the most direct way of achieving a constant setting of positive gain (+1 to +10) for ia4. rs flip-flop clamps oa2 to vrefout both comparators combine to generate a set/reset function on the when pc is a logic 1, and window logic output pin instead of the usual xor function. this has no effect when it s a signal is also routed internally to ia4 for polarity control. when pc is logic 0 (external). a logic 0, cp1 positive transitions generate a set command and positive transitions of cp2 a reset command. for example, if pacblock 2 is configured as an integrator and its output is fed to cp1 and cp2 (configured for window comparison), a voltage controlled oscillator will result from the rs flip-flop set/reset reversing the polarity every time the integration exceeds the upper and then lower window boundaries in sequence. when pc is a logic 1, the output of oa2 goes immediately to 2.5v and stays in hold mode until pc returns to a logic 0. this effectively implements a gated oscillator function. cp1 direct none. in this mode, the output of comparator 1 (cp1) controls the polarity ia4 polarity control based of ia4, a logic 1 = no inversion, a logic 0 = inverted. when the output directly on cp1 output, a of cp1 is in the direct mode, the polarity control is all internal. if the logic 0 = inverted, cp1 buffer e2 bit is set, cp1 changes can only occur if clocked by logic 1 = no inversion (internal). the pc pin externally (rising edge). pc clock clocks cp1 data register always enabled anytime the cp1buffer e2 configuration bit is set. (external). each rising edge of pc clocks whatever data is read from cp1 s output into its output register regardless of what other function is being performed by the pc pin. in certain modes listed above, the operation of cp1 in buffered mode combined with the need to clock its output using the pc pin, would interfere with or prevent the proper operation of some circuit function implementations.
specifications isppac20 24 table 5. jtag user configuration bits symbol name description dsthru direct serial pass-thru used to enable the serial, jtag/direct mode. enables addressing of dac directly from the serial latches instead of the e 2 cells. overrides the effect of the dmode pin. overridden itself by the enspi mode pin (high). cphyst comparator hysteresis used to enable comparator hysteresis mode for both comparators (47mv). selected in pac-designer by double clicking on the hysteresis symbol in between the two comparators or by using the edit symbol dialog. distdo disable tdo used to disable the tdo output, or in other words place it in permanent high-impedance output mode. this is done to reduce unnecessary on-chip perturbation of the analog circuitry while changing the dac codes in either the jtag/e 2 or jtag/direct modes. has no effect on tdo when enspi is high and the dac is in spi mode. note that tdo is disabled at certain times even when the distdo bit is not set. pcmode1, 2 polarity control mode used to control the various modes of pc (polarity control) digital input pin function. these include simple logic control of ia4 s gain polarity, a blocking of the pc pin input altogether, an oscillator flip-flop control mode and gating of the oscillator flip-flop mode, and direct connection to cp1out. wcmode window compare mode comparator 1 latch enable used to enable either xor or ff output mode on the window output pin. cp1buffer ues1-7 user electronic signature comparator output disable these bits are available to store information about an individual device in on-chip e 2 configuration memory. for example, the configuration code, performance data or other classification data could be stored and later retrieved to identify some unique property associated by the user with the device. cpout disables all three comparator-related outputs (cp1, cp2 and window) placing them in a high impedance state. the purpose of the option is to allow quieter operation of comparators (less effect on other analog circuitry) when their outputs are only required for on-chip operation. sre slew rate enhancement normally on, this bit enhances the slew rate capability of ia4. normally this is of greatest benefit in such applications as voltage controlled oscillators where an improvement in non-sinusoidal waveform generation is desired. has no effect on thd of normal signals, but can still be disabled if output needs to be matched exactly to the characteristics of ia1-3. esf electronic security fuse setting this bit causes all subsequent readouts of the device configuration to be disabled (jtag verify commands). can be reset by performing a jtag user bulk erase command and reprogramming the device. this feature is used to prevent unauthorized readout of the device s configuration. encmvin1, 2 enable external cmv ref enables an external input reference to determine the output common-mode voltage of oa1 and/or oa2 instead of the normally-used 2.5v from on-chip. causes output of comparator 1 (cp1) to be latched into a d-flip-flop before being output. latch is updated by clocking the pc input pin. theory of operation (continued) jtag user bits there are a number of user-configured e 2 bits that control various aspects of isppac operation and can all be accessed in either the pull-down menus or directly in the schematic design entry screen of the pac-designer software. see the online help associated with the isppac20 in pac-designer for more details of how to set/ program various operation modes. the list of control e 2 bits available is given in table 5.
specifications isppac20 25 figure 13. pac-designer design entry screen with detailed logic schematic diagram d clk q cp1out cp2out pc pin s r q jtag tristate bit jtag tristate bit jtag tristate bit cp1 cp2 window m u x rs flip-flop oa2 ia3 ia4 mux fixed mode [cp1out] [rs flip-flop] [pc pin] e bit 2 when output of mux is [hi], ia4 is inverted oa1 ia1 ia2 msel 8-bit dac 3.0v 1.5v cpin dacout out2 3.0v 1.5v out1 in1 in2 in3 a b 2.5v 2.5v e 2 cells/parallel inputs -1 + - + - mux
specifications isppac20 26 software-based design environment design entry software designers configure the isppac20 and verify its perfor- mance using pac-designer, an easy to use, microsoft windows compatible program. circuit designs are en- tered graphically and then verified, all within the pac-designer environment. full device programming is supported using pc parallel port i/o operations and a download cable connected to the serial programming interface of the isppac20. a library of configurations is included with basic solutions and examples of advanced circuit techniques. in addition, comprehensive on-line and printed documentation is provided that covers all aspects of pac-designer operation. the pac-designer schematic window, shown in figure 14, provides access to all configurable isppac20 ele- ments via its graphical user interface. all analog input and output pins are represented. static or non-config- urable pins such as power, ground, vref out , and the serial digital interface are omitted for clarity. any element figure 14. initial pac-designer schematic design entry screen in the schematic window can be accessed via mouse operations as well as menu commands. when com- pleted, configurations can be saved, simulated, and downloaded to devices. pac-designer operation can be automated and ex- tended by using custom-designed visual basic ? programs that set the interconnections and the parameters of isppac products. these stand-alone programs are called macros. an example of such a macro is the biquad filter generator supplied with pac-designer. with this macro, filter parameters such as gain, q and corner frequency are input directly and then automatically converted to a schematic configuration. more information on this and other topics is included in the on-line documentation as well as the pac-designer getting started manual . pac designer - [design1] ready file edit view tools options window help oa1 ia2 1 ia1 1 1.07 pf oa2 ia3 1 ia4 -1 1.07 pf polarity control: pc pin sre=on 2.5v 2.5v hyst=on xor digital outputs=enabled e2cells/parallel inputs ues bits = 0000000 code: 80h 0.0000v in1 in2 in3 out1 out2 cpin cp1out cp2out window dacout msel = a pc = 0 3v 1.5v 3v 1.5v pacblock 1 pacblock 2 cp1 cp2 a b -1 direct
specifications isppac20 27 in-system programmability electronic security an electronic security fuse (esf) bit is provided in every isppac20 device to prevent unauthorized readout of the e 2 cmos user bit patterns. once programmed, this cell prevents further access to the functional user bits in the device. this cell can only be erased by reprogramming the device, so the original configuration can not be examined once programmed. usage of this feature is optional. production programming support once a final configuration is determined, an ascii format jedec file is created using the pac-designer software. parts can then be ordered through the usual supply channels with the user s specific configuration already preloaded into the parts. pac-designer will also export an svf file which can be used with ispvm ? for embed- ded programming applications. by virtue of its standard interface, compatibility is maintained with existing pro- duction programming equipment giving customers a wide degree of freedom and flexibility in production planning. other options exist for production programming, includ- ing a c-coded library of ispvm functions. contact isppacs@latticesemi.com for more details. evaluation fixture included in the basic isppac20 design kit is an engineer- ing prototype board that is connected to the parallel port of a pc. it demonstrates proper layout techniques for the isppac20 and can be used in real time to check circuit operation as part of the design process. input and output connections as well as a breadboard circuit area are provided to speed debugging of the circuit. user electronic signature a user electronic signature (ues) feature is included in the e 2 memory of the isppac20. it contains seven bits that can be configured by the user to store unique data such as id codes, revision numbers or inventory control data. figure 15. configuring the isppac20 in-system from a pc parallel port ispdownload cable (6') 4 other system circuitry isppac20 device pac-designer software
specifications isppac20 28 ieee standard 1149.1 interface serial port programming interface communication with the isppac20 is facilitated via an ieee 1149.1 test access port (tap). it is used by the isppac20 as a serial programming interface, and not for boundary scan test purposes. there are no boundary scan logic cells in the isppac20 architecture. this does not prevent the isppac20 from functioning correctly, however, when placed in a valid serial chain with other ieee 1149.1 compliant devices. a brief description of the isppac20 serial interface fol- lows. for complete details of the reference specification, refer to the publication, standard test access port and boundary-scan architecture, ieee std 1149.1-1990 (which now includes ieee std 1149.1a-1993). overview an ieee 1149.1 test access port (tap) provides the control interface for serially accessing the digital i/o of the isppac20. the tap controller is a state machine driven with mode and clock inputs. under the correct protocol, instructions are shifted into an instruction regis- ter which then determines subsequent data input, data output, and related operations. device programming is performed by addressing the user register, shifting data in, and then executing a program user instruction, after which the data is transferred to internal e 2 cmos cells. it is these non-volatile cells that determine the configura- tion of the isppac20. by cycling the tap controller through the necessary states, data can also be shifted out of the user register to verify the current isppac20 configuration. instructions exist to access all data regis- ters and perform internal control operations. for compatibility between compliant devices, two data registers are mandated by the ieee 1149.1 specification. others are functionally specified, but inclusion is strictly optional. finally, there are provisions for optional data registers defined by the manufacturer. the two required registers are the bypass and boundary-scan registers. for isppac20, the bypass register is a 1-bit shift register that provides a short path through the device when boundary testing or other operations are not being per- formed. the isppac20, as mentioned, has no boundary-scan logic and therefore no boundary scan register. all instructions relating to boundary scan opera- tions place the isppac20 in the bypass mode to maintain compliance with the specification. the optional identifi- cation register described in ieee 1149.1 is also included in the isppac20. one additional data register included in the tap of the isppac20 is the lattice-defined user register. figure 16 shows how the instruction and various data registers are placed in an isppac20. tap controller specifics the tap is controlled by the test clock (tck) and test mode select (tms) inputs. these inputs determine whether an instruction register or data register opera- tion is performed. driven by the tck input, the tap consists of a small 16-state controller design. in a given state, the controller responds according to the level on the tms input as shown in figure 17. test data in (tdi) and tms are latched on the rising edge of tck, with test data out (tdo) becoming valid on the falling edge of tck. there are six steady states within the controller: test-logic-reset, run-test/idle, shift-data-register, pause-data-register, shift-instruction-register, and pause-instruction-register. but there is only one steady state for the condition when tms is set high: the test- logic-reset state. this allows a reset of the test logic within five tcks or less by keeping the tms input high. test-logic-reset is the power-on default state. when the correct logic sequence is applied to the tms and tck inputs, the tap will exit the test-logic-reset state and move to the desired state. the next state after test-logic-reset is run-test/idle. until a data or instruc- tion scan is performed, no action will occur in run-test/ idle (steady state = idle). after run-test/idle, either a data or instruction scan is performed. the states of the data and instruction register blocks are identical to each other differing only in their entry points. when either block figure 16. isppac20 tap registers mux tdi tdo tck tms trst user register id register bypass register instruction register output latch test access port (tap) logic
specifications isppac20 29 is entered, the first action is a capture operation. for the data registers, the capture-dr state is very simple: it captures (parallel loads) data onto the selected serial data path (previously chosen with the appropriate in- struction). for the instruction register, the capture-ir state will always load the idcode instruction. it will always enable the id register for readout if no other instruction is loaded prior to a shift-dr operation. this, in conjunction with mandated bit codes, allows a blind interrogation of any device in a compliant ieee 1149.1 serial chain. from the capture state, the tap transitions to either the shift or exit1 state. normally the shift state follows the capture state so that test data or status information can be shifted out or new data shifted in. following the shift state, the tap either returns to the run-test/idle state via the exit1 and update states or enters the pause state via exit1. the pause state is used to temporarily suspend the shifting of data through either the data or instruction register while an external operation is performed. from the pause state, shifting can resume by reentering the shift state via the exit2 state or be terminated by entering the run-test/idle state via the exit2 and update states. if the proper instruction is shifted in during a shift-ir operation, the next entry into run-test/idle initiates the figure 17. test access port (tap) contoller state diagram ieee standard 1149.1 interface test mode (steady state = test). this is when the device is actually programmed, erased or verified. all other instructions are executed in the update state. test instructions like data registers, the ieee 1149.1 standard also man- dates the inclusion of certain instructions. it outlines the function of three required and six optional instructions. any additional instructions are left exclusively for the manufacturer to determine. the instruction word length is not mandated other than to be a minimum of 2-bits, with only the bypass and extest instruction code patterns being specifically called out (all ones and all zeroes respectively). the isppac20 contains the required mini- mum instruction set as well as one from the optional instruction set. in addition, there are several proprietary instructions that allow the device to be configured and verified. for isppac20, the instruction word length is 5- bits. all isppac20 instructions available to users are shown in table 6. bypass is one of the three required instructions. it selects the bypass register to be connected between tdi and tdo and allows serial data to be transferred through the device without affecting the operation of the test-logic-rst run-test/idle select-dr-scan select-ir-scan capture-dr capture-ir shift-dr shift-ir exit1-dr exit1-ir pause-dr pause-ir exit2-dr exit2-ir update-dr update-ir 1 0 00 00 00 11 00 00 11 11 00 11 00 11 11 11 1 0 note: the value shown adjacent to each state transition in this figure represents the signal present at tms at the time of a rising edge at tck.
specifications isppac20 30 isppac20. the bit code of this instruction is defined to be all ones by the ieee 1149.1 standard. the required sample/preload instruction dictates the boundary-scan register be connected between tdi and tdo. the isppac20 has no boundary-scan register, so for compatibility it defaults to the bypass mode when- ever this instruction is received. the bit code for this instruction is defined by lattice as shown in table 6. the extest (external test) instruction is required and would normally place the device into an external bound- ary test mode while also enabling the boundary-scan register to be connected between tdi and tdo. again, since the isppac20 has no boundary-scan logic, the device is put in the bypass mode to ensure specification compatibility. the bit code of this instruction is defined by the 1149.1 standard to be all zeros. the optional idcode (identification code) instruction is incorporated in the isppac20 and leaves it in its func- tional mode when executed. it selects the device identification register to be connected between tdi and tdo. the identification register is a 32-bit shift register containing information regarding the ic manufacturer, device type and version code (see figure 18). access to the identification register is immediately available, via a tap data scan operation, after power-up of the device, or by issuing a test-logic-reset instruction. the bit code for this instruction is defined by lattice as shown in table 6. ieee standard 1149.1 interface table 6. isppac20 tap instructions extest addusr ube verusr prgusr idcode encal dbe verdac external test. default to bypass. address user data register. user bulk erase. verify user data register. program user data register. read identification data register. enable calibration sequence. dac bulk erase. verify the dac register. 00000 00001 00010 00011 00100 01101 10000 10001 10010 description code instruction prgdac adddac program the dac register. address the dac register. 10011 10100 sample bypass sample/preload. default to bypass. bypass (connect tdi to tdo). 11110 11111 tap inst/pac20 figure 18. identification code (idcode) 32-bit binary word for lattice isppac20 msb xxxx / 0000 0001 0001 0001 / 0000 0100 001 / 1 lsb version (4 bits) e 2 configured part number (16 bits) 0111h = pac20 jedec manfacturer identity code for lattice semiconductor (11 bits) constant 1 (1 bit) per 1149.1-1990 addusr (address user register) instruction is a lattice defined instruction that selects the user register to be shifted during a shift-dr operation. normal operation of a device is not interrupted by this instruction. it precedes a progusr (program user) instruction to shift in a new configuration and follows a verusr (verify user) in- struction to shift out the current configuration. the bit code for this instruction is shown in table 6. the prgusr (program user) is a lattice instruction that enables the data shifted into the user register to be programmed into the non-volatile e 2 cmos memory of the isppac20 and thereby alter its configuration. the user register is a 109-bit shift register that contains all the user-controlled parametric and interconnect data per- taining to the configuration of the isppac20. normal operation of the device is interrupted during the actual programming time. a programming operation does not begin until entry of the run-test/idle state. the time required to insure data retention is given in the tap signal specifications table. the user must ensure that the rec- ommended programming times are observed. the bit code for this instruction is shown in table 6. verusr (verify user) is the next lattice instruction and causes the current configuration of the isppac20 to be loaded into the user register. this operation doesn t interrupt operation of the device. the current configura- tion can then be shifted out of the user register immediately after an addusr instruction is executed. the bit code for this instruction is shown in table 6. for dac operations, the adddac (address dac), prgdac (program dac), verdac (verify dac) and dbe (dac bulk erase, instructions are provided. they have basically the same effect as the user instructions
specifications isppac20 31 ieee standard 1149.1 interface except that they only affect the contents of the dac register. the bit codes for these instructions are shown in table 6. encal (enable calibration) is a lattice instruction that enables the start of an auto-calibration sequence. this operation causes all outputs of the device to go to 0v until the calibration sequence is completed (see timing speci- fications). as with the programming instructions above, calibration does not begin until entry of the run-test/idle state. the completion of the calibration is not dependent, however, on any further tap control. this means the state of the tap can be returned immediately to the test- logic-reset state. the only consideration would be to not clock the tap during critical analog operations. the first several milliseconds of the calibration routine are consumed waiting for configurations to settle, though, leaving more than enough time to clock the tap back to the test-logic-reset state. the bit code for this instruc- tion is shown in table 6. the last lattice instruction is ube (user bulk erase). operation of the device is interrupted during ube, after which all inputs are disconnected and all outputs driven to v com (2.5v). to economize internal circuitry, pro- gramming can only be selectively done in one direction (from zeroes to ones). the ube is used to return all user bits to a zero state at the same time. a ube usually proceeds a prgusr operation, otherwise one to zero changes would not be implemented. it can also be used to erase all configuration information from a device and is the default condition of parts shipped from the factory. the same programming constraints apply to ube as for prgusr. the bit code for this instruction is shown in table 6. the addusr, bypass, extest, idcode and sample/preload instructions are all executed in the update-ir state. other instructions: prgusr, verusr and ube are executed upon entry of the run-test/idle state. it is recommended that when all serial interface opera- tions are completed, the tap controller be reset and left in the test-logic-reset state (the power-up default) and the tck and tms inputs idled. this will insure the best analog performance possible by minimizing the effects of digital logic feed-through.
specifications isppac20 32 package diagrams 44-pin plastic plcc dimensions in inches min./max. (dimensions in millimeters, shown in parenthesis, are for reference only) top view pin 1 0.650 (16.51) 0.656 (16.66) 0.685 (17.40) 0.695 (17.65) 0.042 (1.07) 0.048 (1.22) x 45 ? 0.050 (1.27) bsc seating plane coplanarity not to exceed 0.004 (.102) 0.020 (.51) minimum 0.590 (14.99) 0.630 (16.00) 0.013 (0.33) 0.021 (0.53) 0.090 (2.29) 0.120 (3.05) 0.165 (4.19) 0.180 (4.57) 0.026 (0.66) 0.032 (0.81) 1.35 1.45 0.80 bsc 0.22 0.45 detail a detail a 0 7 0.05 0.15 0.45 0.75 10.00 bsc 12.00 bsc pin 1 seating plane coplanarity not to exceed 0.102 top view 44-pin tqfp dimensions in millimeters min./max.


▲Up To Search▲   

 
Price & Availability of ISPPAC20-01JI

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X